

package org.example.design.designmode.proxy.cglibproxy;

import org.example.design.designmode.proxy.cglibproxy.CGIBProxy;

public class CGLIBTest {
    public static void main(String[] args) {

        CGIBProxy s= new CGIBProxy();
        WangBo pe = (WangBo) s.getInstance(WangBo.class);
        pe.findLove();


        CGIBProxy s1= new CGIBProxy();
        YuYaoZong pe1 = (YuYaoZong) s1.getInstance(YuYaoZong.class);
        pe1.findLove();


    }
}
